package com.qiang.demo05.factory;

import com.qiang.demo05.ctronller.IstudentCtronller;
import com.qiang.demo05.ctronller.StudentCtronllerImp;
import com.qiang.demo05.dao.IstudentDao;
import com.qiang.demo05.dao.StudentDaoImp;
import com.qiang.demo05.service.IstudentService;
import com.qiang.demo05.service.StudentServiceImp;

public class Factory {
    public static IstudentService getStudentService() {
        return new StudentServiceImp();
    }


    public static IstudentCtronller getStudentCtronller() {
        return new StudentCtronllerImp();
    }

    public static IstudentDao getStudentDao() {
        return new StudentDaoImp();
    }
}
